<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../../jquery/3.1.1/jquery-3.1.1.min.js"></script>
    <style>
        .data{
            background: red;
        }
    </style>
</head>
<body>
<ul class="data">
</ul>
</body>
</html>
<script>
    var d_json = [{
        name:"哈哈"
    },{
        name:"呵呵"
    }];
    $(d_json).each(function (i) {
        var html = "<li>"+d_json[i].name+"</li>";
        $(".data").append(html);
    })
    //alert($)
</script>